package statusPattern;

/**
 * Created by yangluhua on 2016/8/27 0027.
 * 状态
 */
public interface State {
    /**
     * 订票方式
     */
    //直接
    public void direct();
    //预约
    public void subscribe();

    /**
     * 订单状态
     */
    //已创建
    public void created();
    //已释放
    public void released();
    //已取消
    public void canceled();
    //已失败
    public void failed();
    //已出票
    public void issued();

    /**
     * 支付状态
     */
    //待支付
    public void waitPay();
    //已支付
    public void payed();
    //待退款
    public void waitRefund();
    //退款处理中
    public void refunding();
    //已退款
    public void refunded();
}
